package com.ruoyi.sys.tpackage.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 套餐信息管理对象 tb_package
 * 
 * @author hyl
 * @date 2025-06-07
 */
public class TPackage extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 套餐id */
    @Excel(name = "套餐id")
    private Long packId;

    /** 管理员id */
    @Excel(name = "管理员id")
    private Long adminId;

    /** 管理员名称 */
    @Excel(name = "管理员名称")
    private String adminName;

    /** 套餐名称 */
    @Excel(name = "套餐名称")
    private String packName;

    /** 套餐价格 */
    @Excel(name = "套餐价格")
    private BigDecimal price;

    /** 套餐描述 */
    @Excel(name = "套餐描述")
    private String description;

    /** 上架时间 */
    @Excel(name = "上架时间")
    private Long shopTime;

    /** 套餐状态 */
    @Excel(name = "套餐状态")
    private String status;

    /** 开始时间（用于范围查询） */
    private String beginTime;

    /** 结束时间（用于范围查询） */
    private String endTime;

    public void setPackId(Long packId) 
    {
        this.packId = packId;
    }

    public Long getPackId() 
    {
        return packId;
    }

    public void setAdminId(Long adminId) 
    {
        this.adminId = adminId;
    }

    public Long getAdminId() 
    {
        return adminId;
    }

    public String getAdminName() {
        return adminName;
    }

    public void setAdminName(String adminName) {
        this.adminName = adminName;
    }

    public void setPackName(String packName)
    {
        this.packName = packName;
    }

    public String getPackName() 
    {
        return packName;
    }

    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public void setShopTime(Long shopTime) 
    {
        this.shopTime = shopTime;
    }

    public Long getShopTime() 
    {
        return shopTime;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public String getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(String beginTime) {
        this.beginTime = beginTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("packId", getPackId())
            .append("adminId", getAdminId())
            .append("adminName", getAdminName())
            .append("packName", getPackName())
            .append("price", getPrice())
            .append("description", getDescription())
            .append("shopTime", getShopTime())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
